package com.bl.student.service.vo.apply;
import com.bl.student.dao.model.ConfirmEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel(value = "ApplyVo", description = "申请记录")
public class ApplyVo {
    @Id
    @ApiModelProperty(value = "id")
    @Column(name = "apply_id")
    private String applyId;

    @ApiModelProperty(value = "甲方id")
    @Column(name = "partya_id")
    private String partyaId;

    @ApiModelProperty(value = "甲方姓名")
    private String partyaNickname;

    @ApiModelProperty(value = "甲方手机")
    private String partyaMobile;

    @ApiModelProperty(value = "甲方头像")
    private String partyaAvatar;

    private String partyaHxName;

    @ApiModelProperty(value = "乙方id")
    @Column(name = "partyb_id")
    private String partybId;

    @ApiModelProperty(value = "乙方姓名")
    private String partybNickname;

    private String partybHxName;

    @ApiModelProperty(value = "乙方手机")
    private String partybMobile;

    @ApiModelProperty(value = "乙方评分")
    private double score;

    @ApiModelProperty(value = "乙方头像")
    private String partybAvatar;

    @ApiModelProperty(value = "任务id")
    @Column(name = "task_id")
    private String taskId;

    @ApiModelProperty(value = "用户作品url")
    private String url;

    @ApiModelProperty(value = "用户自我评价comment")
    private String comment;

    @ApiModelProperty(value = "状态")
    private int status;

    @ApiModelProperty(value = "是否是当前用户申请了该条记录")
    private String isSelf;

    @ApiModelProperty(value = "费用")
    private BigDecimal money;

    @ApiModelProperty(value = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty(value = "是否开始未完成")
    @Column(name = "start_refund")
    private int startRefund;

    private String partybCollege;

    private String partybInfo;

    private ConfirmEntity confirmEntity;

    private int refund;


}
